<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>LAMS ANDROID TEST FORMS</title>
</head>

<body>

<h4>user/login</h4>
<form method="POST" action="user/login" target="response">
    <table>
        <tr>
            <td>Username:</td>
            <td><input name="username" type="text" value="sysadmin"/></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td><input name="password" type="text" value="sysadmin"/></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="LOGIN" />
            </td>
        </tr>
    </table>
</form>

<h4>user/logout</h4>
<form method="POST" action="user/logout" target="response">
    <table>
        <tr>
            <td colspan="2">
                <input type="submit" value="LOGOUT" />
            </td>
        </tr>
    </table>
</form>

<h4>user/groups</h4>
<form method="POST" action="user/groups" target="response">
    <table>
        <tr>
            <td colspan="2">
                <input type="submit" value="GET GROUPS" />
            </td>
        </tr>
    </table>
</form>

<h4>user/organisations</h4>
<form method="POST" action="user/organisations" target="response">
    <table>
        <tr>
            <td colspan="2">
                <input type="submit" value="GET ORGANISATIONS" />
            </td>
        </tr>
    </table>
</form>

<h4>lesson/getByOrganisation</h4>
<form method="POST" action="lesson/getByOrganisation" target="response">
    <table>
        <tr>
            <td>Organisation id:</td>
            <td><input name="idOrganisation" type="text" value=""/></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="GET LESSONS BY ORGANISATION" />
            </td>
        </tr>
    </table>
</form>

<h4>lesson/getById</h4>
<form method="POST" action="lesson/getById" target="response">
    <table>
        <tr>
            <td>Lesson id:</td>
            <td><input name="id" type="text" value=""/></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="GET LESSON BY ID" />
            </td>
        </tr>
    </table>
</form>

<h4>activity/getById</h4>
<form method="POST" action="activity/getById" target="response">
    <table>
        <tr>
            <td>Activity id:</td>
            <td><input name="id" type="text" value=""/></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="GET ACTIVITY BY ID" />
            </td>
        </tr>
    </table>
</form>

<hr/>

<h3>RESPONSE</h3>
<iframe name="response" style="width: 800px; height: 200px; border: 1px solid #000000;"></iframe>


</body>

</html>